package com.ddone.bean;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author ddone
 * @date 2024/4/6-14:13
 */
@Data
@Entity
@Table(name = "t_stock")
public class Stock {

    @Id
    private Integer id;

    @Column(name = "product_id")
    private String productId;

    @Column(name = "title")
    private String title;

    @Column(name="count")
    private Integer count;

}
